package com.example.demospringmybatisplus.handler;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import com.example.demospringmybatisplus.entity.Node;

/**
 * 网元字段权限校验处理器
 *
 * @author huahua
 * @DATE 2024/8/9
 **/
@Component
@Order(200)
public class NodeCheckPermissionHandler extends AbstractNodeCheckHandler {

    @Override
    public void doValidate(Node node) {
        System.out.println("执行校验网元字段权限业务逻辑.......");
        // 网元字段权限校验通过，执行下一逻辑
        next(node);
    }
}
